﻿<%@ Page MaintainScrollPositionOnPostback="true" Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Cambio_Servidor_Correo.aspx.cs" Inherits="FrontEndPlus.Módulos.Catálogos_y_Mantenimientos.wbfrm_Cambio_Servidor_Correo" %>

<%@ Register Src="~/Módulos/Catálogos y Mantenimientos/MenuVertical.ascx" TagName="MenuVertical" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="App_Themes/CSS/Smoke.css"/>
    <link type="text/css" rel="stylesheet" href="App_Themes/CSS/formEspera.css" />
    <script type="text/javascript" src="JS/Smoke.min.js"></script>
    <script type="text/javascript" src="JS/Smoke.js"></script>
    <style type="text/css">
        .auto-style2 {
            width: 307px;
        }

        .auto-style4 {
            height: 33px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <uc1:MenuVertical ID="MenuVertical1" runat="server" />
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel3" runat="server">
        <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);">
            <tr>
                <td></td>
                <td align="center"></td>
                <td align="center" class="auto-style2" colspan="8">
                    <h1><strong>Cambio de Servidor de Correo</strong></h1>
                </td>
            </tr>
        </table>
        <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);">
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td align="center" class="auto-style2">
                    <asp:ToolkitScriptManager ID="tsm_ScriptManager" runat="server"></asp:ToolkitScriptManager>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Agregar/Modificar</h2>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Id: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Id" runat="server" TabIndex="4" MaxLength="10" ReadOnly="True" Width="59px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Sede:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Gim"
                        runat="server" CssClass="DropDownListcompleto" Width="163px" CausesValidation="True"
                        Font-Bold="True" Font-Italic="False" Font-Overline="False"
                        Font-Size="Medium" AppendDataBoundItems="false">
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator5" runat="server"
                        ErrorMessage="Seleccionar Sede" MaximumValue="2"
                        MinimumValue="1" ControlToValidate="ddl_Gim"
                        EnableClientScript="False" ForeColor="Maroon"
                        CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Correo Electrónico:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Email" runat="server" Width="182px" MaxLength="40"></asp:TextBox><br />
                    <asp:RegularExpressionValidator
                        ID="RegularExpressionValidator1"
                        runat="server"
                        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ControlToValidate="txt_Email"
                        ErrorMessage="Formato  inválido" CssClass="msjerror" ForeColor="Maroon"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Host:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Host" runat="server" MaxLength="40" Width="127px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txt_Host" EnableClientScript="False" ErrorMessage="Digitar Host" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Puerto:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Puerto" runat="server" Width="91px" MaxLength="11"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txt_Puerto" EnableClientScript="False" ErrorMessage="Digitar Puerto" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">SSL:</td>
                <td class="auto-style2">
                    <asp:CheckBox ID="chk_ActivoSSL" runat="server" Text="Activo" CssClass="letrapantallas" OnCheckedChanged="chk_ActivoSSL_CheckedChanged" AutoPostBack="True" />
                    <asp:CheckBox ID="chk_InactivoSSL" runat="server" Text="Inactivo" CssClass="letrapantallas" OnCheckedChanged="chk_InactivoSSL_CheckedChanged" AutoPostBack="True" /><br />
                    <asp:Label ID="lbl_MensajeErrorS" runat="server" ForeColor="Maroon" CssClass="msjerror"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Credenciales Predeterminadas:</td>
                <td class="auto-style2">
                    <asp:CheckBox ID="chk_ActivoDefault" runat="server" Text="Activo" CssClass="letrapantallas" OnCheckedChanged="chk_ActivoDefault_CheckedChanged" AutoPostBack="True" />
                    <asp:CheckBox ID="chk_InactivoDefault" runat="server" Text="Inactivo" CssClass="letrapantallas" OnCheckedChanged="chk_InactivoDefault_CheckedChanged" AutoPostBack="True" /><br />
                    <asp:Label ID="lbl_MensajeError" runat="server" ForeColor="Maroon" CssClass="msjerror"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Credenciales</h2>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                  
                </td>
                <td align="right" class="auto-style4">Usuario:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_UsuarioCred" runat="server" MaxLength="50" Width="127px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_UsuarioCred" EnableClientScript="False" ErrorMessage="Digitar Usuario" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                 
                </td>
                <td align="right" class="auto-style4">Contraseña:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Pass" runat="server" MaxLength="50" Width="127px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_Pass" EnableClientScript="False" ErrorMessage="Digitar Contraseña" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Predeterminado:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Predeterminado" runat="server" MaxLength="30" Width="109px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_Predeterminado" EnableClientScript="False" ErrorMessage="Digitar Predeterminado" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                  
                </td>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ImageButton ID="imgbtn_Agregar" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" OnClick="imgbtn_Agregar_Click" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
